home *** CD-ROM | disk | FTP | other *** search
- head 1.4;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.4
- date 90.10.19.15.41.25; author shirriff; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 89.06.19.12.26.57; author rab; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 89.03.30.09.38.43; author rab; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 89.02.07.14.02.01; author rab; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.4
- log
- @Added necessary declaration.
- @
- text
- @/*
- * stddef.h --
- *
- * Declarations of standard types.
- *
- * Copyright 1989 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- *
- * $Header: /sprite/src/lib/include/RCS/stddef.h,v 1.3 89/06/19 12:26:57 rab Exp Locker: shirriff $
- */
-
- #ifndef _STDDEF
- #define _STDDEF
-
- typedef int ptrdiff_t;
- typedef short wchar_t;
-
- #ifndef _SIZE_T
- #define _SIZE_T
- typedef int size_t;
- #endif
-
- #ifndef NULL
- #define NULL 0
- #endif
-
- #define offsetof(structtype, field) \
- ((size_t)(char *)&(((structtype *)0)->field))
-
- #endif /* _STDDEF */
-
- @
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @d15 1
- a15 1
- * $Header: /sprite/src/lib/include/RCS/stddef.h,v 1.2 89/03/30 09:38:43 rab Exp Locker: rab $
- d27 4
- @
-
-
- 1.2
- log
- @*** empty log message ***
- @
- text
- @d15 1
- a15 1
- * $Header: /sprite/src/lib/include/RCS/stddef.h,v 1.1 89/02/07 14:02:01 rab Exp Locker: rab $
- d22 2
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d15 1
- a15 1
- * $Header$
- d22 2
- a23 2
- #ifndef SIZE_T
- #define SIZE_T
- d26 3
- @
-